Skip to content

docs(cosh-ng): [gateway] define ACP design - #2498

Draft
kongche-jbw wants to merge 3 commits into
alibaba:mainfrom
kongche-jbw:feat/cosh-ng/acp-architecture-rfc
Draft

docs(cosh-ng): [gateway] define ACP design#2498
kongche-jbw wants to merge 3 commits into
alibaba:mainfrom
kongche-jbw:feat/cosh-ng/acp-architecture-rfc

Conversation

@kongche-jbw

@kongche-jbw kongche-jbw commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Why

cosh-ng is evolving from an interactive Shell into a local-first Agent
operations gateway. A public architecture baseline is needed so contributors
can evolve the Task Plane, Runtime ports, governed execution, and adapter
conformance without creating parallel lifecycle or authorization models.

What changed

  • Split the ACP Gateway architecture into eight English/Chinese design pairs.
  • Define the overview, ACP v1 boundary, and Rust 1.88 toolchain decision.
  • Define Task/Runtime identity, durable Task Plane, approval/permit/execution,
    Runtime security, and adapter conformance contracts.
  • Define portable task-only-v1 and Linux ws-ckpt-v1 capability profiles,
    with trusted provider registration and no silent fallback.
  • Split profile implementation into issue-sized, independently reviewable
    acceptance slices.
  • Separate target architecture from currently available implementation and
    acceptance evidence.

This PR remains documentation-only. Implementation is being prepared as a
separate Draft PR so architecture review and code review can proceed
independently.

Related issue

no-issue: establish the shared ACP architecture for community development

User / Agent impact

None. This change defines architecture and contribution contracts; it does not
change installed behavior.

Risk and compatibility

  • Cross-component contract changed
  • Migration or rollback guidance is needed

The documents define long-lived boundaries rather than enabling behavior. ACP
remains a Runtime interoperability protocol; Task durability and governed OS
execution remain COSH-owned contracts. ws-ckpt is the first governed target,
not a permanent Gateway dependency. The current implementation remains fixed
to the checkpoint-enabled slice until portable profile admission is implemented
and accepted.

Validation

  • bash scripts/docs-lint.sh
  • python3 scripts/docs-link-check.py
  • git diff --check
  • Manual English/Chinese heading-parity review for all eight document pairs

No Cargo checks were run because this is a documentation-only change.

Documentation and rollback

Adds eight bilingual design groups under
src/cosh-ng/docs/design/acp-gateway/. Revert the documentation commits to
remove the architecture baseline; no runtime state, package, or protocol
migration is involved.

@github-actions github-actions Bot added component:cosh-ng src/cosh-ng scope:documentation ./docs/|./*.md|./NOTICE labels Aug 13, 2026
@kongche-jbw
kongche-jbw force-pushed the feat/cosh-ng/acp-architecture-rfc branch from f4e0653 to bd878ff Compare August 13, 2026 09:05
@kongche-jbw kongche-jbw changed the title docs(cosh-ng): [gateway] propose ACP design docs(cosh-ng): [gateway] define ACP design Aug 13, 2026
- Define the Gateway, Task, Runtime, and OS governance boundaries.
- Adopt ACP wire v1 as the replaceable Agent Runtime interface.
- Establish Rust 1.88 and contribution rules for shared development.

Signed-off-by: kongche-jbw <kongche.jbw@alibaba-inc.com>
@kongche-jbw
kongche-jbw force-pushed the feat/cosh-ng/acp-architecture-rfc branch from bd878ff to 1829874 Compare August 13, 2026 09:56
- Add bilingual task, durability, capability, security, and adapter designs.
- Separate target architecture from current implementation status.
- Define community-facing invariants and acceptance boundaries.

Signed-off-by: kongche-jbw <kongche.jbw@alibaba-inc.com>
- Define portable and ws-ckpt capability profiles.
- Keep target selection trusted and fail closed.
- Split implementation into reviewable acceptance slices.

Signed-off-by: kongche-jbw <kongche.jbw@alibaba-inc.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:cosh-ng src/cosh-ng scope:documentation ./docs/|./*.md|./NOTICE

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant